<?php


namespace app\model\notice;


use crmeb\basic\BaseModel;
use crmeb\traits\ModelTrait;

class UserPinkNotice extends BaseModel
{
    use ModelTrait;

    /**
     * 数据表主键
     * @var string
     */
    protected $pk = 'id';

    /**
     * 模型名称
     * @var string
     */
    protected $name = 'user_pink_notice';

    protected $insert = ['add_time'];

    protected $updateTime = false;

    /**
     * 创建时间修改器
     * @return int
     */
    protected function setAddTimeAttr()
    {
        return time();
    }

}